#include "storage.h"

Storage::Storage(BigInt * p){
	counter_ = 1;
	ptr_ = p;
}

Storage::~Storage(){
	delete ptr_;
}

void Storage::inc(){
	++counter_;
}

void Storage::dec(){
	--counter_;
}

int Storage::counter(){
	return counter_;
}
